import { getImageUrl } from '@/utils/common'
// 跳过检查列表
const noCheckList: Array<string> = ['/login', '/register']  // back check
// 默认文档标题
const defaultDocumentTitle: string = 'Admin Plus'

// 主题类名
type ThemeClassType = 'header-theme-light' | 'header-theme-dark' | 'header-theme-primary' | 'nav-theme-dark' | 'nav-theme-light'

type GlobalStyleSettingsType = {
    themeSetting: {
        header: Array<{
            imgUrl: string,
            tiptitle: string,
            className:ThemeClassType
        }>,
        nav: Array<{
            imgUrl: string,
            tiptitle: string,
            className:ThemeClassType
            theme:'light' | 'dark'
        }>,

    }
}

// 全局样式主题设置
const globalStyleSettings: GlobalStyleSettingsType = {
    themeSetting: {
        header: [
            {
                imgUrl: getImageUrl('nav-theme-dark.da07f9c2.svg'),
                className:'header-theme-light',
                tiptitle: '亮色顶栏',
                
            },
            {
                imgUrl: getImageUrl('header-theme-dark.1606ed02.svg') ,
                className:'header-theme-dark',
                tiptitle: '暗色顶栏'
            },
            {
                imgUrl: getImageUrl('header-theme-primary.babcd2f1.svg'),
                className:'header-theme-primary',
                tiptitle: '主色顶栏'
            }
        ],
        nav: [
            {
                imgUrl: getImageUrl('nav-theme-dark.da07f9c2.svg'),
                className:'nav-theme-dark',
                tiptitle: '暗色侧边栏',
                theme:'dark'
            },
            {
                imgUrl: getImageUrl('nav-theme-light.262af236.svg'),
                className:'nav-theme-light',
                tiptitle: '亮色侧边栏',
                theme:'light'
            }
        ]
    }
}
export {
    noCheckList,
    defaultDocumentTitle,
    globalStyleSettings
}